package com.ciko.code.http.Req;


import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by ciko on 2015/11/29.
 */
public class QryChapterListReq extends BaseRequest {

    public QryChapterListReq(String contentId, Integer contentType, Integer pageNum,  Integer length) {

        initNoEnId();

        put("contentId", contentId);
        put("contentType", contentType);
        put("pageNum", pageNum);
        put("length",length);

        putCidNoEnId(contentId + contentType + pageNum + length);

    }

    @Override
    public String getUrl() {
        return Api.qryChapterList;
    }

    @Override
    public Class<?> getResponseClazz() {
        return QryChapterListRes.class;
    }
}
